﻿using BasicInformation.Domain;
using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiRead.Application.Command.Unit
{
    public class GetUnitCommand:IRequest<ApiPaging<UnitModel>>
    {
        public int index { get; set; } = 1;
        public int size { get; set; } = 15;
        /// <summary>
        /// 单位编号(自动生产)
        /// </summary>
        public string? UnitCode { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string? UnitName { get; set; }
    }
}
